package com.magicsoft.constant;

import android.os.Environment;

public interface Constant {

	// 客户端注册号
	// public static String tokenID = "";
	// 图片保存目录
	public static final String IMAGE_CACHE_DIR = "images";
	public static String downloadDir = "app/huijiaoyu/download/";
	//测试环境
	public final static String HttpUrl = "http://101.200.90.138";
	//正式环境
//	public final static String HttpUrl = "http://54.223.52.13";
	
	public final static String BaseUrl = HttpUrl + ":8081/v1/";
	
	public final static String BaseUrl2 = "http://54.223.196.153:8081/v1/";
	/* 预正式环境 */
	// public final static String BaseUrl = "http://54.223.196.88:8081/v1/";
	// /* 云测试服务器 */
	// public final static String BaseUrl = "http://54.223.171.230:8081/v1/";

	// /* 云测试服务器 */
	// public final static String BaseUrl = "http://42.62.50.218:8081/v1/";
	// // // 云测试cas平台地址
	public static String CAS_DOMAIN = "http://42.62.50.218:8889/";
	// 首页小地图
	public final static String BIGDATA_CENTER = BaseUrl + "bigdata/center";
	// 获取组织结构信息
	public final static String BIGDATA_BRANCH = BaseUrl + "bigdata/branch";
	// 获取kpi信息
	public final static String BIGDATA_KPI = BaseUrl + "bigdata/kpi";
	//获取首页列表
	public final static String EMPLOYEE_HomeList = BaseUrl + "homelist";
	// 注册registration ID
	public final static String EMPLOYEE_Jpush = BaseUrl+"push/register";
	// public final static String CONTACT_DETAIL = BaseUrl2 +
	// "phonebook/contacts";
	//获取联系人详情
	public final static String CONTACT_DETAIL2 = BaseUrl+"phonebook/contacts";
	public final static String CONTACT_FAVORITE = BaseUrl2
			+ "phonebook/favoriteContacts";
	// 获取二维码
	public final static String QRCODE = BaseUrl + "huiqrcode";
	// 更改个人信息
	public final static String ACCOUNT = BaseUrl + "account";

	// 我的群组
	public final static String CONTACT_MYGROUP = BaseUrl+"im/group";

	// 群组成员
	public final static String CONTACT_GROUPMEMBER = BaseUrl+"im/group/member";

	// 删除联系人
	public final static String CONTACT_FREQUENT = BaseUrl+"phonebook/frequentContacts";
	// 最近联系人
	public final static String CONTACT_FREQUENT2 = BaseUrl+"phonebook/frequentContacts";
	public final static String SEARCH = BaseUrl+"phonebook/search";
	// 登录
	public final static String DENGLU = BaseUrl+"account/login?";
	// 附近中心
	public final static String NEARBYCENTER = BaseUrl+"poi/center";
	// 附近的人
	public final static String NEARBYPEOPLE = BaseUrl + "poi/people";

	// 根据组织架构ID获取下级数据
	public final static String CONTACT_CHILD_DATAS = BaseUrl+"phonebook/childDatas";
	// 获取组织结构信息

	// 修改密碼
	public final static String EMPLOYEE_PASSWORD = BaseUrl
			+ "employee/password";
	// 用戶应用权限
	public final static String EMPLOYEE_RIGHTS = BaseUrl + "app";
	// 用戶应用权限
	public final static String AUTH = BaseUrl+"app";
	// 彩管家状态查询
	public final static String STATUS = BaseUrl + "huijiaoyu/status";
	// 版本更新
	public final static String GETVERSION = BaseUrl + "huijiaoyu/version";
	// public final static String GETVERSION = BaseUrl + "caiguanjia/upgrade";

	// 紅包余额查询
	public final static String HONGBAO_GETBALANCE = BaseUrl
			+ "hongbao/getBalance";

	// 验证支付密码
	public final static String HONGBAO_CHECKPAYPWD = BaseUrl
			+ "hongbao/checkPayPwd";
	// 紅包提现列表
	public final static String HONGBAO_TIXIANORDERLIST = BaseUrl
			+ "hongbao/tiXianOrderList";
	// 红包余额, 消费的红包总金额, 获取总金额
	public final static String HONGBAO_EXPENDTOTAL = BaseUrl
			+ "hongbao/redPacketExpendTotal";
	// 消费的红包列表
	public final static String HONGBAO_EXPEND = BaseUrl
			+ "hongbao/redPacketExpend";
	// 收到的红包列表
	public final static String HONGBAO_RECEIVE = BaseUrl
			+ "hongbao/redPacketReceive";
	// 获取银行卡绑定列表
	public final static String HONGBAO_BINDBANKLIST = BaseUrl
			+ "hongbao/bindBankList";
	// 返回银行列表
	public final static String HONGBAO_BANKLIST = BaseUrl + "hongbao/bankList";
	// 返回扣税之后的金额
	public final static String HONGBAO_GETREALMONEY = BaseUrl
			+ "hongbao/getRealMoney";
	// 获取同事转账给本人的转账记录
	public final static String HONGBAO_RECEIVEONOA = BaseUrl
			+ "hongbao/redPacketReceiveOnOA";
	// 获取本人转给同事的转账记录
	public final static String HONGBAO_EXPENDONOA = BaseUrl
			+ "hongbao/redPacketExpendOnOA";
	// 获取转账到彩之云的转账记录
	public final static String HONGBAO_EXPENDONCOLOURLIFE = BaseUrl
			+ "hongbao/redPacketExpendOnColourLife";
	// 根据用户获取该用户的红包发放列表情况
	public final static String HONGBAO_GETHBUSERLIST = BaseUrl
			+ "hongbao/getHBUserList";
	// 获取历史oa转账人列表
	public final static String HONGBAO_CARRYLIST = BaseUrl
			+ "hongbao/carryList";
	// 创建转账同事订单
	public final static String HONGBAO_CARRYORDERCREATE = BaseUrl
			+ "hongbao/carryOrderCreate";
	// 创建转账同事订单
	public final static String HONGBAO_CHECKSENDPACKET = BaseUrl
			+ "hongbao/checkSendPacket";
	// 返回扣税之后的金额
	public final static String HONGBAO_GETCUSTOMERINFO = BaseUrl
			+ "hongbao/getCustomerInfo";
	// 绑定彩之云账号
	public final static String HONGBAO_BINDCOLOURLIFE = BaseUrl
			+ "hongbao/bindColourLife";
	// 获取用户的个人红包发放情况详情
	public final static String HONGBAO_GETHBDETAILS = BaseUrl
			+ "hongbao/getHBDetails";
	// 获取用户的集体红包情况详情
	public final static String HONGBAO_GETHBJTDETAILS = BaseUrl
			+ "hongbao/getHBJtDetails";
	// 员工绑定银行卡
	public final static String HONGBAO_BINDBANK = BaseUrl + "hongbao/bindBank";
	// 红包提现订单
	public final static String HONGBAO_ORDERCREATE = BaseUrl
			+ "hongbao/orderCreate";
	// 查看用户是否设置查询密码
	public final static String HONGBAO_SETPWD = BaseUrl + "hongbao/setPwd";
	// 查看用户是否设置查询密码
	public final static String HONGBAO_ISSETPWD = BaseUrl + "hongbao/isSetPwd";
	// 手机或oa账号读取同事信息
	public final static String HONGBAO_GETEMPLOYEEINFO = BaseUrl
			+ "hongbao/getEmployeeInfo";
	// 删除绑定彩之云
	public final static String HONGBAO_BINDCOLOURLIFEDELETE = BaseUrl
			+ "hongbao/bindColourLifeDelete";
	// 删除绑定银行卡
	public final static String HONGBAO_BANKDELETE = BaseUrl
			+ "hongbao/bankDelete";

	// 短信
	public final static String SMS = BaseUrl + "sms";
	/* 门禁 */
	// 开门
	public final static String DOOR_OPEN = BaseUrl + "door/open";
	// 获取门信息
	public final static String DOOR_GET_INFO = BaseUrl + "door/get";
	// 是否可授权
	public final static String AUTHORIZATION_IS_GRANTED = BaseUrl
			+ "authorization/isgranted";
	// 再次申请
	public final static String APPLY_REAPPLY = BaseUrl + "apply/apply1";
	// 申请
	public final static String APPLY_APPLY1 = BaseUrl + "apply/apply4mobile";
	// 授权
	public final static String AUTHORIZATION_AUTHORIZE = BaseUrl
			+ "authorization/authorize4mobile";
	// 再次授权
	public final static String AUTHORIZATION_RE_AUTHORIZE = BaseUrl
			+ "authorization/authorize";
	// 取消授权
	public final static String AUTHORIZATION_CANCEL = BaseUrl
			+ "authorization/unauthorize";
	// 批复申请
	public final static String APPLY_APPROVE = BaseUrl + "apply/approve";
	// 申请历史列表
	public final static String APPLY_HISTORY_LIST = BaseUrl
			+ "authorization/getlist4topByToID";
	// 授权列表
	public final static String AUTHORIZATION_LIST = BaseUrl
			+ "authorization/getlist4top";
	// 授权记录列表
	public final static String AUTHORIZATION_HISTORY_LIST = BaseUrl
			+ "authorization/gethistorylist";
	// 申请历史记录
	public final static String APPLYFOR_HISTORY_LIST = BaseUrl
			+ "apply/gethistorylist";
	// 我的优惠券列表
	public final static String DISCOUNT_GET_MY_LIST = BaseUrl
			+ "coupon/getmylist";

	// 推送服务
	// 注册推送服务通知
	public static final String ACTION_PUSHMESSAGE_REG = "com.magicsoft.weitown.notice.ACTION_PUSHMESSAGE_REG";
	// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	// 会员卡列表
	public final static String CARD_LIST_URL = BaseUrl + "membercard/cardlist";

	// 物业缴费
	public final static String EREDIAN_REQUEST = BaseUrl + "eredian/request";

	// 推送
	public static String app_versionName = "";

	public static final String VISIT_HOME = "visitHome";

	public static final String E_DECORATION = "eDecoration";

	public static final String DREAM_GRANDSTAND = "dreamGrandstand";

	public static final String E_QING_JIE = "eQingJie";

	public static final String E_LOAN = "eLoan";

	public static final String E_BAOYANG = "eBaoyang";

	public static final String E_WEIXIU_BAOXIUSHENPI = "eWeiXiuBaoXiuShenPi";

	public static final String HB_LICAI = "hongBaoLiCai";

	public static final String E_RUHUO = "eRuHuo";

	public static final String NETWORK_ANOMALY = "网络异常";

	public static final String NO_DATA = "暂无数据";

	public static final String NO_MORE_DATA = "暂无更多数据";

	public static final String LOAD_DATA_FAILED = "加载数据失败";

	public static final String DELETE_FAILED = "删除失败";

	public static final String ERROR = "错误";

	public static final String ChangePersonHeadIcon = "ChangePersonHeadIcon";
	public static final String FirstChangePersonHeadIcon = "FirstChangePersonHeadIcon";
	
	
	public static final int JumpManage_Code = 5;
	public static final int ChangeHomeCityName = 12;
	public static final int JumpChangeCity_Code = 11;

	public static final String ChangeCityName = "ChangeCityName";
	public static final String EMPLOYEE = BaseUrl+"employee";

	public static final String CloseChatAC = "CloseChatAC";
	public static final String CloseChatAC1 = "CloseChatAC1";
	public static final String CaseChangePriority = "CaseChangePriority";
	public static final String CaseChangeStatus = "CaseChangeStatus";
	public static final String NOTITYHOMELIST= "NotityHomeList";
	public static final String NOTITYCASEDETAIL= "NOTITYCASEDETAIL";

	public static final String GETDYNAMIC = "GetDynamic";
	public static final String GETATTACH = "GetAttach";
	
	public static final int Btn_Cancel = 1000;
	public static final int CHANGENAME = 100;
	public static final int CHANGEMOBILE = 101;
	public static final int CHANGEMAIL = 102;
	public static final int CHANGESEX = 103;
	public static final int CHANGECARDNO = 104;
	public static final int CHANGEADDRESS = 105;
	public static final int CHANGEEDUCATION = 106;
	public static final int HOMElIST_CASE_CODE = 107;
	public static final int CaseChangePriority_CODE = 108;
	public static final int CaseChangeStatus_CODE = 109;
	public static final int ChangeCaseDetail_Code = 1100;
	public static final int NewCaseDetail_Code = 1111;
	
	
	// 修改个人信息
	public static final String XIUGAI = BaseUrl+"employee?";
	// 修改密码
	public static final String XIUGAIMIMA = BaseUrl+"account/password?";
	public static final String CONTACT_CHANGYONG = BaseUrl+"phonebook/frequentContacts";
	// 添加星标联系人
	public static final String CONTACT_ADDXINGBIAO = BaseUrl+"phonebook/favoriteContacts";
	// 获取星标联系人
	public static final String CONTACT_FREQUENT3 = BaseUrl+"phonebook/favoriteContacts";
	// 删除星标联系人
	public static final String CONTACT_FREQUENT4 = BaseUrl+"phonebook/favoriteContacts";
	// 新建群组
	public static final String NEWGROUP = BaseUrl+"im/group?";
	public static final String ZHUCE = BaseUrl+"account?";
	public static final String ADDCONTACTTOGROUP = BaseUrl+"im/group/member?";
	public static final String GETACCOUNT = BaseUrl+"account";
	public static final String GETUSERID = BaseUrl+"account?";
	public static final String CHANGEGROUPNAME = BaseUrl+"im/group?";
	//Case相关
	public static final String CASESNEW = BaseUrl+"yunweiCase";
	
	public static final String CASES = BaseUrl+"cases";
	//动态
	public static final String TRENDS = BaseUrl+"trends";
	//附件
	public static final String FILES = BaseUrl+"files";
	//安卓附件
	public static final String ANDROID_FILES = BaseUrl+"android_files";
	//case关注
	public static final String CASES_MEMBERS = BaseUrl+"cases/members";
	//根据CaseId获取群组信息
	public static final String IM_GROUP = BaseUrl+"im/group";
	//获取CaseType
	public static final String CASE_TYPE = BaseUrl+"casetypes";
	public static final String DELETE_HOMELIST = "delehomelist";
	public static final String UPLOADFILE = "uploadfile";
	public static final String CASE_LIST = BaseUrl + "employees/cases";
	public static final String CLOSE_CASEDETAIL = "closecasedetail";
	public static final String CHANGEMYCASE = "changemycase";
	public static final String photourl = HttpUrl + ":5757/avatar?uid=";
	public static final String photourl1 = HttpUrl + ":5757/avatar/phone?phone=";
	public static final String DELFILE = "deletefile";
	public static final String CLOSE_UPLOAD = "closeUpload";
	public static final String EXITCASE = "exitcase";
	public static final String ADDMENBER = "addmemberincase";
	public static final String REALNAME = "realname";
	public static final String CASESANDIM = BaseUrl+"caseAndIM";
	public static final String DELTRENDS = "deltrends";
	
	
	// 下载文件保存路径
	String DOWNLOAD_DIRECT = Environment.getExternalStorageDirectory()
			+ "/huijiaoyu/download/";

}
